home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir34
/
whatape.zip
/
SAMPLE.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-08-16
|
751b
|
52 lines
@echo off
rem This batch file is meant as an example. If you replace my backup
rem commands with your backup commands it shouldn't need too much
rem tweeking. This is set up for day of the week prompting.
whatape /m4 /l /e
if errorlevel 7 goto saturday
if errorlevel 6 goto friday
if errorlevel 5 goto thursday
if errorlevel 4 goto wednsday
if errorlevel 3 goto tuesday
if errorlevel 2 goto monday
if errorlevel 1 goto sunday
:saturday
backup incremental
goto end
:friday
backup incremental
goto end
:thursday
backup incremental
goto end
:wednsday
backup incremental
goto end
:tuesday
backup incremental
goto end
:monday
backup incremental
goto end
:sunday
backup full
goto end
:end